package com.wzx.user.mongo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author wzx
 * @version 1.0
 * @date 2022/8/12 - 17:53
 * @description 标题
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Document(collection = "t_packet_basic")
public class RedPacketBasic {

    @Id
    private long id;

    private String sendId;
    private String sendName;
    private String sendHead;

    private float totalAmount;
    private Integer totalNum;
    private String title;
    private Integer type;

    private Integer surplusNum;

    private String createTime;

}
